# coding=utf-8
# 旧版本
oldname = str


def oldFunc(param: oldname) -> oldname:
    return param + param


oldFunc('oldFunc:百战程序员')

# 新版本
from typing import TypeAlias

newstr: TypeAlias = str
newint: TypeAlias = int


def newFunc(num: newint, msg: newstr) -> newstr:
    return str(num) + msg


print(newFunc(100, "类型别名更改"))
